using DealerPlatform.Core;
using DealerPlatform.Domain;
using DealerPlatform.Service.ProductApp.Dtos;

namespace DealerPlatform.Service.ProductApp;

public interface IProductService : IOcTag
{
    Task<IEnumerable<ProductDto>> GetProductDto(string searchText,string productType,string belongTypeName,Dictionary<string, string> productProps,PageWithSortDto pageWithSortDto);
    Task<IEnumerable<ProductTypeDto>> GetProductType(string belongTypeName);
    Task<Dictionary<string, IEnumerable<string>>> GetProductProps(string belongTypeName, string? typeNo);
    Task<List<BelongTypeDto>> GetBelongTypeDtoAsync();
}